<?php
namespace app\common\validate;

use think\Validate;

class apply extends Validate{

    protected $rule = [
        'name|姓名'=>'require',
        'identityno|身份证号'=> 'require|length:18',
        'telphone|手机号'=>'require|number',
        'title|职称'=>'require',
        'department|进修科室'=>'require',
        'learnlength|进修时长'=>'require',
        // 'personalpic|个人照片'=>'require',
        'institution|工作单位'=>'require',
        'linkman|联系人'=>'require|chs',
        'linktel|负责人电话'=>'require|number',
        'doctorid|医师证号'=>'require',
        'field|执业范围'=>'require',
        // 'doctorpic|执业医师照片'=>'require',
    ];
}